<script setup lang="ts">
import { onLaunch, onShow, onHide, onBackPress } from '@dcloudio/uni-app'
onLaunch(() => {
    console.log('App Launch')
})
onShow(() => {
    console.log('App Show')
})
onHide(() => {
    console.log('App Hide')
})
// onBackPress({ from }) {

onBackPress((...args) => {
    console.log('args:1 ', args)
    return true
})
//   console.log('from: ', from);
//   return  true
// }
</script>
<style lang="scss">
@import 'uview-plus/theme.scss';
</style>
